package com.waijiaojun.tpo.repository;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.waijiaojun.tpo.entity.Sentence;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface SentenceDao {
    int insert(@Param("pojo") Sentence pojo);

    int insertSelective(@Param("pojo") Sentence pojo);

    int insertList(@Param("pojos") List<Sentence> pojo);

    int update(@Param("pojo") Sentence pojo);

    void deleteByScenarioId(@Param("scenarioId")Long scenarioId);
}
